package com.yykt.app;


import org.junit.jupiter.api.Test;

public class part4 {
    int getScore(int input){
        int score = 0;
        if (input < 60) {
            score = 0;
        } else if (input < 80){
            score = 2;
        } else {
            score = 3;
        }
        return score;
    }
    @Test
    void testIf(){
    int input = 90;
    int score = getScore(input);
    System.out.println(score);

    }
}
